[INFO] fetching crate rbson 2.0.5...
[INFO] checking rbson-2.0.5 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate rbson 2.0.5 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate rbson 2.0.5 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rbson 2.0.5
[INFO] finished tweaking crates.io crate rbson 2.0.5
[INFO] tweaked toml for crates.io crate rbson 2.0.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate rbson 2.0.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e4e964d69b57fc8fac8e10de4c8f70c637703cc476230977581aa9e9fb4bf66d
[INFO] running `Command { std: "docker" "start" "-a" "e4e964d69b57fc8fac8e10de4c8f70c637703cc476230977581aa9e9fb4bf66d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4e964d69b57fc8fac8e10de4c8f70c637703cc476230977581aa9e9fb4bf66d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4e964d69b57fc8fac8e10de4c8f70c637703cc476230977581aa9e9fb4bf66d", kill_on_drop: false }`
[INFO] [stdout] e4e964d69b57fc8fac8e10de4c8f70c637703cc476230977581aa9e9fb4bf66d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d380c4e0329f56c2f162fdaa97a0c69039d4072e78a449e039ecb013ccc705c7
[INFO] running `Command { std: "docker" "start" "-a" "d380c4e0329f56c2f162fdaa97a0c69039d4072e78a449e039ecb013ccc705c7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.139
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking hashbrown v0.12.2
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking bit-set v0.5.2
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking difference v2.0.0
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]     Checking pretty_assertions v0.6.1
[INFO] [stderr]     Checking indexmap v1.9.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking ahash v0.7.6
[INFO] [stderr]     Checking rusty-fork v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_xorshift v0.3.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking proptest v1.0.0
[INFO] [stderr]     Checking serde_bytes v0.11.6
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking rbson v2.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `tests`
[INFO] [stdout]    --> src/lib.rs:305:1
[INFO] [stdout]     |
[INFO] [stdout] 305 | mod tests;
[INFO] [stdout]     | ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: to create the module `tests`, create file "src/tests.rs" or "src/tests/mod.rs"
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::tests::LOCK`
[INFO] [stdout]    --> src/oid.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 | use crate::tests::LOCK;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^ no `LOCK` in `tests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/bson.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/de/raw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryInto,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/de/raw.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_CODE_WITH_SCOPE_SIZE`, `read_string`
[INFO] [stdout]   --> src/de/raw.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     read_string,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     MIN_CODE_WITH_SCOPE_SIZE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::de::serde::MapDeserializer`
[INFO] [stdout]   --> src/de/raw.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::de::serde::MapDeserializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::JavaScriptCodeWithScope`, `crate::Regex`
[INFO] [stdout]  --> src/raw/test/props.rs:1:58
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{spec::BinarySubtype, Binary, Bson, Document, JavaScriptCodeWithScope, Regex};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^ no `Regex` in the root
[INFO] [stdout]   |                                                          |
[INFO] [stdout]   |                                                          no `JavaScriptCodeWithScope` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           crate::extjson::models::JavaScriptCodeWithScope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::JavaScriptCodeWithScope`, `crate::Regex`
[INFO] [stdout]   --> src/raw/test/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     JavaScriptCodeWithScope,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `JavaScriptCodeWithScope` in the root
[INFO] [stdout] 13 |     Regex,
[INFO] [stdout]    |     ^^^^^ no `Regex` in the root
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider importing this struct instead:
[INFO] [stdout]            crate::extjson::models::JavaScriptCodeWithScope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/de/mod.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/document.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/extjson/models.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{extjson, oid, spec::BinarySubtype, Bson};
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/array.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/raw/bson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/document.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::{oid::ObjectId, spec::ElementType, Document};
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MIN_CODE_WITH_SCOPE_SIZE`
[INFO] [stdout]  --> src/raw/iter.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 |     de::{read_bool, MIN_BSON_DOCUMENT_SIZE, MIN_CODE_WITH_SCOPE_SIZE},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oid::ObjectId`, `write_cstring`
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     raw::RAW_DOCUMENT_NEWTYPE,
[INFO] [stdout] 11 |     ser::{write_binary, write_cstring, write_i32, write_i64, write_string, Error, Result},
[INFO] [stdout]    |                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/bson.rs:34:11
[INFO] [stdout]    |
[INFO] [stdout] 34 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `convert::TryInto`
[INFO] [stdout]  --> src/de/raw.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::TryInto,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/de/raw.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     Bson,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `MIN_CODE_WITH_SCOPE_SIZE`, `read_string`
[INFO] [stdout]   --> src/de/raw.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     read_string,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     MIN_CODE_WITH_SCOPE_SIZE,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::de::serde::MapDeserializer`
[INFO] [stdout]   --> src/de/raw.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 40 | use crate::de::serde::MapDeserializer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TryFrom`, `borrow::Cow`
[INFO] [stdout]  --> src/de/serde.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 |     borrow::Cow,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/de/mod.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self::raw::Deserializer as RawDeserializer`
[INFO] [stdout]   --> src/de/mod.rs:52:16
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub(crate) use self::raw::Deserializer as RawDeserializer;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/document.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Bson`
[INFO] [stdout]   --> src/extjson/models.rs:10:48
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::{extjson, oid, spec::BinarySubtype, Bson};
[INFO] [stdout]    |                                                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/array.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ObjectId`, `self`
[INFO] [stdout]   --> src/raw/bson.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |     oid::{self, ObjectId},
[INFO] [stdout]    |           ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `oid::ObjectId`
[INFO] [stdout]   --> src/raw/document.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use crate::{oid::ObjectId, spec::ElementType, Document};
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MIN_CODE_WITH_SCOPE_SIZE`
[INFO] [stdout]  --> src/raw/iter.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 |     de::{read_bool, MIN_BSON_DOCUMENT_SIZE, MIN_CODE_WITH_SCOPE_SIZE},
[INFO] [stdout]   |                                             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `oid::ObjectId`, `write_cstring`
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout] 9  |     oid::ObjectId,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 10 |     raw::RAW_DOCUMENT_NEWTYPE,
[INFO] [stdout] 11 |     ser::{write_binary, write_cstring, write_i32, write_i64, write_string, Error, Result},
[INFO] [stdout]    |                         ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter::FromIterator`
[INFO] [stdout]   --> src/ser/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::{io::Write, iter::FromIterator, mem};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 27 |             Bson::RegularExpression(Regex::new(pattern, options))
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `RegularExpression` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ObjectId` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:29:50
[INFO] [stdout]    |
[INFO] [stdout] 29 |         any::<[u8; 12]>().prop_map(|bytes| Bson::ObjectId(crate::oid::ObjectId::from_bytes(bytes))),
[INFO] [stdout]    |                                                  ^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `ObjectId` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:44:40
[INFO] [stdout]    |
[INFO] [stdout] 44 |         any::<String>().prop_map(Bson::JavaScriptCode),
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `JavaScriptCode` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]   --> src/raw/test/props.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |                 .prop_map(|(scope, code)| Bson::JavaScriptCodeWithScope(
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/bson.rs:41:1
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub enum Bson {
[INFO] [stdout]    | ------------- variant or associated item `JavaScriptCodeWithScope` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `TryFrom`
[INFO] [stdout]  --> src/de/serde.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 |     convert::{TryFrom, TryInto},
[INFO] [stdout]   |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `iter::FromIterator`
[INFO] [stdout]   --> src/ser/mod.rs:33:22
[INFO] [stdout]    |
[INFO] [stdout] 33 | use std::{io::Write, iter::FromIterator, mem};
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/raw/test/mod.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 |         "object_id": ObjectId::from_bytes([1, 2, 3, 4, 5,6,7,8,9,10, 11,12]),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         $crate::Bson::from($other)
[INFO] [stdout]     |         ------------------ required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:108:24
[INFO] [stdout]     |
[INFO] [stdout] 108 |         "regex": Bson::RegularExpression(Regex { pattern: String::from(r"end\s*$"), options: String::from("i")}),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `RegularExpression` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:109:29
[INFO] [stdout]     |
[INFO] [stdout] 109 |         "javascript": Bson::JavaScriptCode(String::from("console.log(console);")),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCode` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Symbol` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:110:25
[INFO] [stdout]     |
[INFO] [stdout] 110 |         "symbol": Bson::Symbol(String::from("artist-formerly-known-as")),
[INFO] [stdout]     |                         ^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `Symbol` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:111:40
[INFO] [stdout]     |
[INFO] [stdout] 111 | ...   "javascript_with_scope": Bson::JavaScriptCodeWithScope(JavaScriptCodeWithScope{ code: String::from("console.log(msg);"), scope: doc...
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCodeWithScope` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/raw/test/mod.rs:213:22
[INFO] [stdout]     |
[INFO] [stdout] 213 |         "object_id": ObjectId::from_bytes([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         $crate::Bson::from($other)
[INFO] [stdout]     |         ------------------ required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_object_id` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:220:10
[INFO] [stdout]     |
[INFO] [stdout] 216 |       let oid = rawdoc
[INFO] [stdout]     |  _______________-
[INFO] [stdout] 217 | |         .get("object_id")
[INFO] [stdout] 218 | |         .expect("error finding key object_id")
[INFO] [stdout] 219 | |         .expect("no key object_id")
[INFO] [stdout] 220 | |         .as_object_id()
[INFO] [stdout]     | |         -^^^^^^^^^^^^ method not found in `RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  |   pub enum RawBson<'a> {
[INFO] [stdout]     |   -------------------- method `as_object_id` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:275:24
[INFO] [stdout]     |
[INFO] [stdout] 275 |         "regex": Bson::RegularExpression(Regex { pattern: String::from(r"end\s*$"), options: String::from("i")}),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `RegularExpression` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_regex` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:281:10
[INFO] [stdout]     |
[INFO] [stdout] 277 |       let regex = rawdoc
[INFO] [stdout]     |  _________________-
[INFO] [stdout] 278 | |         .get("regex")
[INFO] [stdout] 279 | |         .expect("error finding key regex")
[INFO] [stdout] 280 | |         .expect("no key regex")
[INFO] [stdout] 281 | |         .as_regex()
[INFO] [stdout]     | |         -^^^^^^^^ method not found in `RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  |   pub enum RawBson<'a> {
[INFO] [stdout]     |   -------------------- method `as_regex` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:289:29
[INFO] [stdout]     |
[INFO] [stdout] 289 |         "javascript": Bson::JavaScriptCode(String::from("console.log(console);")),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCode` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1219:27
[INFO] [stdout]      |
[INFO] [stdout] 1219 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[INFO] [stdout]      |                           ----^^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/de/raw.rs:1329:27
[INFO] [stdout]      |
[INFO] [stdout] 1329 |     fn deserialize_any<V>(mut self, visitor: V) -> Result<V::Value>
[INFO] [stdout]      |                           ----^^^^
[INFO] [stdout]      |                           |
[INFO] [stdout]      |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_javascript` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:296:10
[INFO] [stdout]     |
[INFO] [stdout] 292 |       let js = rawdoc
[INFO] [stdout]     |  ______________-
[INFO] [stdout] 293 | |         .get("javascript")
[INFO] [stdout] 294 | |         .expect("error finding key javascript")
[INFO] [stdout] 295 | |         .expect("no key javascript")
[INFO] [stdout] 296 | |         .as_javascript()
[INFO] [stdout]     | |         -^^^^^^^^^^^^^ method not found in `RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  |   pub enum RawBson<'a> {
[INFO] [stdout]     |   -------------------- method `as_javascript` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Symbol` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:304:25
[INFO] [stdout]     |
[INFO] [stdout] 304 |         "symbol": Bson::Symbol(String::from("artist-formerly-known-as")),
[INFO] [stdout]     |                         ^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `Symbol` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_symbol` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:312:10
[INFO] [stdout]     |
[INFO] [stdout] 308 |       let symbol = rawdoc
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 309 | |         .get("symbol")
[INFO] [stdout] 310 | |         .expect("error finding key symbol")
[INFO] [stdout] 311 | |         .expect("no key symbol")
[INFO] [stdout] 312 | |         .as_symbol()
[INFO] [stdout]     | |         -^^^^^^^^^ help: there is a method with a similar name: `as_bool`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  |   pub enum RawBson<'a> {
[INFO] [stdout]     |   -------------------- method `as_symbol` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:320:40
[INFO] [stdout]     |
[INFO] [stdout] 320 |         "javascript_with_scope": Bson::JavaScriptCodeWithScope(JavaScriptCodeWithScope {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCodeWithScope` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_javascript_with_scope` found for enum `raw::bson::RawBson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:330:10
[INFO] [stdout]     |
[INFO] [stdout] 326 |       let js_with_scope = rawdoc
[INFO] [stdout]     |  _________________________-
[INFO] [stdout] 327 | |         .get("javascript_with_scope")
[INFO] [stdout] 328 | |         .expect("error finding key javascript_with_scope")
[INFO] [stdout] 329 | |         .expect("no key javascript_with_scope")
[INFO] [stdout] 330 | |         .as_javascript_with_scope()
[INFO] [stdout]     | |         -^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `RawBson<'_>`
[INFO] [stdout]     | |_________|
[INFO] [stdout]     | 
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/raw/bson.rs:21:1
[INFO] [stdout]     |
[INFO] [stdout] 21  |   pub enum RawBson<'a> {
[INFO] [stdout]     |   -------------------- method `as_javascript_with_scope` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/raw/test/mod.rs:398:22
[INFO] [stdout]     |
[INFO] [stdout] 398 |         "object_id": ObjectId::from_bytes([1, 2, 3, 4, 5,6,7,8,9,10, 11,12]),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         $crate::Bson::from($other)
[INFO] [stdout]     |         ------------------ required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `RegularExpression` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:402:24
[INFO] [stdout]     |
[INFO] [stdout] 402 |         "regex": Bson::RegularExpression(Regex { pattern: String::from(r"end\s*$"), options: String::from("i")}),
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `RegularExpression` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCode` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:403:29
[INFO] [stdout]     |
[INFO] [stdout] 403 |         "javascript": Bson::JavaScriptCode(String::from("console.log(console);")),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCode` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `Symbol` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:404:25
[INFO] [stdout]     |
[INFO] [stdout] 404 |         "symbol": Bson::Symbol(String::from("artist-formerly-known-as")),
[INFO] [stdout]     |                         ^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `Symbol` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JavaScriptCodeWithScope` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:405:40
[INFO] [stdout]     |
[INFO] [stdout] 405 | ...   "javascript_with_scope": Bson::JavaScriptCodeWithScope(JavaScriptCodeWithScope{ code: String::from("console.log(msg);"), scope: doc...
[INFO] [stdout]     |                                      ^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `JavaScriptCodeWithScope` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<oid::ObjectId>` is not satisfied
[INFO] [stdout]    --> src/raw/test/mod.rs:438:22
[INFO] [stdout]     |
[INFO] [stdout] 438 |         "object_id": ObjectId::from_bytes([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]),
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `From<oid::ObjectId>` is not implemented for `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/macros.rs:184:9
[INFO] [stdout]     |
[INFO] [stdout] 184 |         $crate::Bson::from($other)
[INFO] [stdout]     |         ------------------ required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <Bson as From<&T>>
[INFO] [stdout]               <Bson as From<&[T]>>
[INFO] [stdout]               <Bson as From<&str>>
[INFO] [stdout]               <Bson as From<Document>>
[INFO] [stdout]               <Bson as From<Vec<T>>>
[INFO] [stdout]               <Bson as From<bool>>
[INFO] [stdout]               <Bson as From<bson::Binary>>
[INFO] [stdout]               <Bson as From<bson::Timestamp>>
[INFO] [stdout]             and 10 others
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `ObjectId` found for enum `Bson` in the current scope
[INFO] [stdout]    --> src/raw/test/mod.rs:465:15
[INFO] [stdout]     |
[INFO] [stdout] 465 |         Bson::ObjectId(ObjectId::from_bytes([
[INFO] [stdout]     |               ^^^^^^^^ variant or associated item not found in `Bson`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/bson.rs:41:1
[INFO] [stdout]     |
[INFO] [stdout] 41  | pub enum Bson {
[INFO] [stdout]     | ------------- variant or associated item `ObjectId` not found for this enum
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 30 previous errors; 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0583, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rbson` (lib test) due to 31 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/ser/raw/mod.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         mut self,
[INFO] [stdout]     |         ----^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MIN_CODE_WITH_SCOPE_SIZE` is never used
[INFO] [stdout]   --> src/de/mod.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub(crate) const MIN_CODE_WITH_SCOPE_SIZE: i32 = 4 + MIN_BSON_STRING_SIZE + MIN_BSON_DOCUMENT_SIZE;
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1144:8
[INFO] [stdout]      |
[INFO] [stdout] 1143 | impl<'de, 'd, 'a> CodeWithScopeAccess<'de, 'd, 'a> {
[INFO] [stdout]      | -------------------------------------------------- associated function in this implementation
[INFO] [stdout] 1144 |     fn new(deserializer: &'a mut CodeWithScopeDeserializer<'de, 'd>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1187:8
[INFO] [stdout]      |
[INFO] [stdout] 1186 | impl<'de, 'a> CodeWithScopeDeserializer<'de, 'a> {
[INFO] [stdout]      | ------------------------------------------------ associated function in this implementation
[INFO] [stdout] 1187 |     fn new(root_deserializer: &'a mut Deserializer<'de>, hint: DeserializerHint, len: i32) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Code` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1260:5
[INFO] [stdout]      |
[INFO] [stdout] 1259 | enum CodeWithScopeDeserializationStage {
[INFO] [stdout]      |      --------------------------------- variant in this enum
[INFO] [stdout] 1260 |     Code,
[INFO] [stdout]      |     ^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `CodeWithScopeDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1317:8
[INFO] [stdout]      |
[INFO] [stdout] 1316 | impl<'de, 'a> DbPointerDeserializer<'de, 'a> {
[INFO] [stdout]      | -------------------------------------------- associated function in this implementation
[INFO] [stdout] 1317 |     fn new(root_deserializer: &'a mut Deserializer<'de>, hint: DeserializerHint) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TopLevel` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1369:5
[INFO] [stdout]      |
[INFO] [stdout] 1368 | enum DbPointerDeserializationStage {
[INFO] [stdout]      |      ----------------------------- variant in this enum
[INFO] [stdout] 1369 |     TopLevel,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `DbPointerDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1430:8
[INFO] [stdout]      |
[INFO] [stdout] 1429 | impl<'de, 'a> RegexDeserializer<'de, 'a> {
[INFO] [stdout]      | ---------------------------------------- associated function in this implementation
[INFO] [stdout] 1430 |     fn new(root_deserializer: &'a mut Deserializer<'de>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `TopLevel` is never constructed
[INFO] [stdout]     --> src/de/raw.rs:1476:5
[INFO] [stdout]      |
[INFO] [stdout] 1475 | enum RegexDeserializationStage {
[INFO] [stdout]      |      ------------------------- variant in this enum
[INFO] [stdout] 1476 |     TopLevel,
[INFO] [stdout]      |     ^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `RegexDeserializationStage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Str`, `Int32`, and `Boolean` are never constructed
[INFO] [stdout]     --> src/de/raw.rs:1505:5
[INFO] [stdout]      |
[INFO] [stdout] 1504 | enum BsonContent<'a> {
[INFO] [stdout]      |      ----------- variants in this enum
[INFO] [stdout] 1505 |     Str(&'a str),
[INFO] [stdout]      |     ^^^
[INFO] [stdout] 1506 |     Int32(i32),
[INFO] [stdout]      |     ^^^^^
[INFO] [stdout] 1507 |     Boolean(bool),
[INFO] [stdout]      |     ^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `BsonContent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]     --> src/de/raw.rs:1511:8
[INFO] [stdout]      |
[INFO] [stdout] 1510 | impl<'a> RawBsonAccess<'a> {
[INFO] [stdout]      | -------------------------- associated function in this implementation
[INFO] [stdout] 1511 |     fn new(key: &'static str, value: BsonContent<'a>) -> Self {
[INFO] [stdout]      |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `bytes_remaining` and `read_borrowed_str` are never used
[INFO] [stdout]     --> src/de/raw.rs:1607:8
[INFO] [stdout]      |
[INFO] [stdout] 1594 | impl<'a> BsonBuf<'a> {
[INFO] [stdout]      | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 1607 |     fn bytes_remaining(&self) -> usize {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1685 |     fn read_borrowed_str(&mut self) -> Result<&'a str> {
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `BsonInteger` is never used
[INFO] [stdout]    --> src/de/serde.rs:403:6
[INFO] [stdout]     |
[INFO] [stdout] 403 | enum BsonInteger {
[INFO] [stdout]     |      ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/de/serde.rs:897:19
[INFO] [stdout]     |
[INFO] [stdout] 896 | impl MapDeserializer {
[INFO] [stdout]     | -------------------- associated function in this implementation
[INFO] [stdout] 897 |     pub(crate) fn new(doc: Document) -> Self {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `parse` is never used
[INFO] [stdout]   --> src/extjson/models.rs:84:19
[INFO] [stdout]    |
[INFO] [stdout] 83 | impl ObjectId {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] 84 |     pub(crate) fn parse(self) -> extjson::de::Result<oid::ObjectId> {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `code` and `scope` are never read
[INFO] [stdout]    --> src/extjson/models.rs:170:16
[INFO] [stdout]     |
[INFO] [stdout] 168 | pub(crate) struct JavaScriptCodeWithScope {
[INFO] [stdout]     |                   ----------------------- fields in this struct
[INFO] [stdout] 169 |     #[serde(rename = "$code")]
[INFO] [stdout] 170 |     pub(crate) code: String,
[INFO] [stdout]     |                ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 |     pub(crate) scope: Option<serde_json::Map<String, serde_json::Value>>,
[INFO] [stdout]     |                ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `next_oid` is never used
[INFO] [stdout]   --> src/raw/iter.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl<'a> Iter<'a> {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn next_oid(&self, starting_at: usize) -> Result<ObjectId> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Code`, `CodeWithScopeCode`, and `CodeWithScopeScope` are never constructed
[INFO] [stdout]   --> src/ser/raw/value_serializer.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum SerializationStep {
[INFO] [stdout]    |      ----------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 47 |     Code,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 48 |     CodeWithScopeCode,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 49 |     CodeWithScopeScope {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SerializationStep` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 36 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "d380c4e0329f56c2f162fdaa97a0c69039d4072e78a449e039ecb013ccc705c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d380c4e0329f56c2f162fdaa97a0c69039d4072e78a449e039ecb013ccc705c7", kill_on_drop: false }`
[INFO] [stdout] d380c4e0329f56c2f162fdaa97a0c69039d4072e78a449e039ecb013ccc705c7
